<template>
    <!-- 统计和清空 -->
    <footer class="footer" v-if="list.length > 0">
        <!-- 统计 -->
        <span class="todo-count"
          >合 计:<strong> {{ list.length }} </strong></span
        >
        <!-- 清空 -->
        <button class="clear-completed" @click="list = []">清空任务</button>
      </footer>
</template>

<script>
export default {

}
</script>

<style>

</style>